--
-- Created by IntelliJ IDEA.
-- User: train
-- Date: 2018/8/23
-- Time: 下午3:09
-- To change this template use File | Settings | File Templates.
--
package.path = '/workspace/project/go/src/linker/script/lib/?.lua;'
local json = require('json')
local mysql = require("mysql")

function run(param)
    local p=json.decode(param)
    local id=p.id
    local ret=mysql.exec("delete from test2 where id=?",json.encode({id[1]}))
    return ret
end

